package com.gulimall.product.feign;

import com.common.utils.R;
import com.common.to.SkuHasStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("gulimall-ware")
public interface WareFeign {


    @RequestMapping("ware/waresku/hasstock")
    R getSkusHasStock(@RequestParam List<Long> skuIds);
}
